package com.ahoi.model;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by ahoi on 2018-04-19 10:46:26.
 * 下载地址
 */
public class DownUrl implements Serializable {

    // ID
    private Integer id;
    // 小说ID
    private Integer bookId;
    // 下载地址
    private String url;
    private String urlPrev;
    // 下载类型 0-zip 1-txt
    private Integer type;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBookId() {
        return bookId;
    }

    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUrlPrev() {
        return urlPrev;
    }

    public void setUrlPrev(String urlPrev) {
        this.urlPrev = urlPrev;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "DownUrl{" +
                "id=" + id +
                ", bookId=" + bookId +
                ", url='" + url + '\'' +
                ", urlPrev='" + urlPrev + '\'' +
                ", type=" + type +
                '}';
    }
}
